package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

/**
 * ClassName: ReportService
 * Package: com.sky.service
 * Description:
 *
 * @Author jian Cao
 * @Create 2025/4/11 15:07
 * @Version 1.0
 */
public interface ReportService {

    //统计指定时间区间内的营业额数据
    TurnoverReportVO getTurnoverStatistics(LocalDate begin,LocalDate end);

    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);

    //订单统计
    OrderReportVO getOrderStatistics(LocalDate begin, LocalDate end);


    //统计指定时间区间内的销量排名前10
    SalesTop10ReportVO getSalesTop10(LocalDate begin, LocalDate end);

    //导出运营数据报表
    void exportBusinessData(HttpServletResponse response);
}
